-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX zoom in docs #10801
FIX zoom in docs #10801
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!! I also updated the layout stories to make them a proper docs test too. Minor comments inline.
position: 'relative', | ||
}); | ||
|
||
const getLayout = (children: ReactElement[]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT this uses the first story layout if there are multiple stories with different layouts, or padded
if there are non-story children. WDYT about using the story layout if all children are stories and their layouts match, and padded
layout in any other case. Seems a little simpler and more predictable?
@ndelangen gadzooks! i'm seeing some regressions in the UI review 🔍 |
…kjs/storybook into tech/cleanup-docs-code-fix-zoom
What I did